class VersionVo {

  VersionData? data;

  VersionVo({this.data});

  VersionVo.fromJson(Map<String, dynamic> json) {
    data = json['data'] != null ? new VersionData.fromJson(json['data']) : null;
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    if (this.data != null) {
      data['data'] = this.data!.toJson();
    }
    return data;
  }
}

class VersionData {
  int? id;
  String? version;
  int? forcedUpdate;
  int? source;
  int? status;
  int? sort;
  String? downloadUrl;
  String? content;
  String? createdAt;
  String? updatedAt;
  int? isReview;
  int? isUpdate;
  String? customerService;
  int? isSign;

  VersionData(
      {this.id,
      this.version,
      this.forcedUpdate,
      this.source,
      this.status,
      this.sort,
      this.downloadUrl,
      this.content,
      this.createdAt,
      this.updatedAt,
      this.isReview,
      this.isUpdate,
      this.customerService,
      this.isSign});

  VersionData.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    version = json['version'];
    forcedUpdate = json['forced_update'];
    source = json['source'];
    status = json['status'];
    sort = json['sort'];
    downloadUrl = json['download_url'];
    content = json['content'];
    createdAt = json['created_at'];
    updatedAt = json['updated_at'];
    isReview = json['is_review'];
    isUpdate = json['is_update'];
    customerService = json['customer_service'];
    isSign = json['is_sign'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['version'] = this.version;
    data['forced_update'] = this.forcedUpdate;
    data['source'] = this.source;
    data['status'] = this.status;
    data['sort'] = this.sort;
    data['download_url'] = this.downloadUrl;
    data['content'] = this.content;
    data['created_at'] = this.createdAt;
    data['updated_at'] = this.updatedAt;
    data['is_review'] = this.isReview;
    data['is_update'] = this.isUpdate;
    data['customer_service'] = this.customerService;
    data['is_sign'] = this.isSign;
    return data;
  }
}
